{foreach from=$aMenu item=aMenuItem}
	<table style="width:100%;cursor:pointer;" class="header" cellspacing="0" cellpadding="4" onclick="SwitchMenu('sub{$aMenuItem.id}','hidetext{$aMenuItem.id}')">
	<tr>
		<td style="font-size:8pt;">
		<img src="design/pic/admin/spacer.gif" alt="" width="8" height="8" class="sqr" style="vertical-align:middle;" />
		<span style="vertical-align:middle;"><b>{i18n key=$aMenuItem.title}</b></span>
		</td>
		<td style="font-size:7pt;text-align:right;">
		<span class="cur" id="hidetext{$aMenuItem.id}">[-]</span>
		</td>
	</tr>
	</table>
	<div class="submenu" id="sub{$aMenuItem.id}">
		<ul class="navlist">
		{foreach from=$aMenuItem.items key=url item=anchor}
		  <li><a href="{url link=$url}" target="main"><img src="design/pic/admin/spacer.gif" alt="" width="8" height="8" class="sqr2" style="vertical-align:middle;" />  {i18n key=$anchor}  </a></li>
		{/foreach}
		</ul>
	</div>
	<br />
{/foreach}
<script type="text/javascript" language="JavaScript">
<!--
{foreach from=$aShowMenus item=iMenuItem}
    SwitchMenu('sub{$iMenuItem}', 'hidetext{$iMenuItem}');
{/foreach}
-->
</script>